package com.jia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jia.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * @author 贾宇光
 * @version 1.0
 * @date 2020/9/16 22:35
 */
@Mapper
@Repository
public interface RoleMapper extends BaseMapper<Role> {
    Role queryRoleByUid(@Param("uid") int uid);
}
